package com.mall.user.model.dto.favorite;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户收藏添加请求
 */
@Data
public class UserFavoriteAddRequest implements Serializable {

    /**
     * 商品ID
     */
    @NotNull(message = "商品ID不能为空")
    private Long productId;

    private static final long serialVersionUID = 1L;
}
